<script src="assets/jquery/jquery-1.6.2.min.js"></script>
<script src="assets/jquery/jquery-ui-1.8.15.custom.min.js"></script>
<link rel="stylesheet" href="assets/jquery/jqueryCalendar.css">
<script>
jQuery(function() {
	jQuery( "#search2" ).datepicker();
});
</script>
<?php
include"config.php";

$hitung_heru_banned = mysql_query("select * from tbl_heuristik where status = 'banned'");
$hitung_heru_unbanned = mysql_query("select * from tbl_heuristik where status = 'unbanned'");

$no_banned = mysql_num_rows($hitung_heru_banned);
$no_unbanned = mysql_num_rows($hitung_heru_unbanned);
?>
<table width="100%" border="1" cellspacing="5" cellpadding="5" class="tbl_border">
  <tr>
    <td width="66%" bgcolor="#3399FF"><font color="#FF0000" face="Geneva, Arial, Helvetica, sans-serif" size="3"><b>Total Heuristic Banned: <?=$no_banned;?></b></font><br /><font color="#00FF00" face="Geneva, Arial, Helvetica, sans-serif" size="3"><b>Total Heuristic Unbanned: <?=$no_unbanned;?></b></font></td>
    <td width="34%" align="center" bgcolor="#3399FF"><a href="index.php?page=add_heuristik"><img src="assets/image/add_btn.png" width="50" height="51" alt="Add" /></a></td>
  </tr>
  <tr>
    <td align="center" bgcolor="#3399FF"><form action="index.php?page=heuristik_filter&amp;&amp;pencarian" method="post" name="form1" id="form1">
      Filter by Code
      <input type="text" name="search" id="search" />
      <input type="submit" name="button" id="button" value="Search" />
    </form>
	<form action="index.php?page=heuristik_filter&amp;&amp;pencariandetail" method="post" name="form1" id="form1">
      Filter by Detail
      <input type="text" name="search3" id="search3" />
      <input type="submit" name="button" id="button" value="Search" />
    </form>
	</td>
    <td align="center" bgcolor="#3399FF"><form action="index.php?page=heuristik_filter&amp;&amp;pencarian2" method="post" name="form1" id="form1">
      Filter by Date
          <input type="text" name="search2" id="search2" />
      <input type="submit" name="button2" id="button2" value="Search" />
      <br />
    Format :YYYY-MM-DD
    </form></td>
  </tr>
  <tr>
    <td colspan="2" align="center">
	</td>
  </tr>
</table>